Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update adjacency_list.hpp #257

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Conversation

shrek1402
Copy link

If the project has a function with the same name, a name conflict occurs
error C2668: add_edge

If the project has a function with the same name, a name conflict occurs
error C2668: add_edge
@shrek1402 shrek1402 closed this Jun 8, 2021
@shrek1402 shrek1402 reopened this Jun 8, 2021
@jeremy-murphy
Copy link
Contributor

Hmmm, I think it's intentionally unqualified so that the function is found via ADL, although I could be wrong.
What was the signature of your add_edge function and what namespace was it in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants